package dp.decorator.starbuzz;

import dp.decorator.starbuzz.cup.Cup;

public abstract class Beverage {

	protected Cup cup;
	protected String description;
	
	protected Beverage() { // 实际上，这个是留给装饰类的
	}
	
	public Beverage(String desc, Cup cup) {
		this.description = desc;
		this.cup = cup;
	}

	public String getDescription() {
		return description;
	}

	public Cup getCup() {
		return cup;
	}
	
	public double cost()
	{
		return cup.cost;
	}
}
